[IT] Archives

Tuesday, 26 January 2021 13:27:17
Total Iterations

1

Total Assertions

9

Total Failed Tests

11

Total Skipped Tests

0


File Information
Collection: [IT] Archives
Environment: Nightlies
Collection Description
``` Feature: Archives Scenario: Admin creates another user's HTML archive Scenario: Admin creates another user's TARBALL archive Scenario: Skyler creates her HTML archive Scenario: Jesse read her archive ```
Timings and Data
Total run duration: 22.1s
Total data received: 46.25KB
Average response time: 492ms
Summary Item Total Failed
Requests 41 0
Prerequest Scripts 88 0
Test Scripts 96 2
Assertions 9 9
Skipped Tests 0 -



Showing 11 Failures

Failed Test: User should be eligible to Suggested stack

Assertion Error Message
Cannot read property 'enable' of undefined
Failed Test: Admin can create user HTML archive

Assertion Error Message
Cannot destructure property `user_id` of 'undefined' or 'null'.
Failed Test: Admin user can download HTML archive

Assertion Error Message
No data, empty input at 1:1

^
Failed Test: User should be eligible to Suggested stack

Assertion Error Message
Cannot read property 'enable' of undefined
Failed Test: Admin can create user tarball archive

Assertion Error Message
Cannot destructure property `user_id` of 'undefined' or 'null'.
Failed Test: Admin user can download tarball archive

Assertion Error Message
No data, empty input at 1:1

^
Failed Test: User should be eligible to Suggested stack

Assertion Error Message
Cannot read property 'enable' of undefined
Failed Test: Simple user cannot create archivee

Assertion Error Message
expected 'invalid_token' to deeply equal 'insufficient_scope'
Failed Test: Simple user cannot create archivee

Assertion Error Message
expected 'invalid_token' to deeply equal 'insufficient_scope'


There are no skipped tests



1 Iteration available to view
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 368ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token e1357776-37c0-44e0-8390-6ab0a994b90a
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:26:55 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users
Response Information
Response Code: 403 - Forbidden
Mean time per request: 201ms
Mean size per request: 1.76KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth="null"
host varnish
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/json; charset=utf-8
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token d75dc055-8855-4da8-a3e7-a6f51780a215
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 320
Request Body
{
            "type": "CLIENT",
            "login": "main.user_1611667615514A@example.com",
            "password": "00000000",
            "first_name": "Main user A",
            "last_name": "api",
            "birth_date": "1988-01-01",
            "gender": "female",
            "salt": "NotReallySecuredS4lt",
            "nickname": "postman.userA",
            "workplace": "Postman test"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:26:55 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1804
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 276ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
Accept */*
Cache-Control no-cache
Postman-Token 78d01da4-2e20-4bf0-8125-46d9926f59b0
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 227
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667615514A@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:26:56 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api
Response Information
Response Code: 403 - Forbidden
Mean time per request: 316ms
Mean size per request: 1.87KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token c269e3db-d378-4b75-9486-6f7fc8ea140a
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:26:56 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1913
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/IndexController.php(75): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(130): Api_IndexController->optionsAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
User should be eligible to Suggested stack 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
User should be eligible to Suggested stack
Cannot read property 'enable' of undefined
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=matching_preferences
Response Information
Response Code: 403 - Forbidden
Mean time per request: 219ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 1985f69a-86ba-4a34-8d9a-3edb6c8cc32d
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 72
Request Body
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:26:56 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/images
Response Information
Response Code: 403 - Forbidden
Mean time per request: 173ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/x-www-form-urlencoded
Authorization OAuth="null"
User-Agent happn/2300 CFNetwork/897.15 Darwin/18.7.0
Accept */*
Cache-Control no-cache
Postman-Token 0b180297-f375-4e2c-8054-f9bb6bfa7d2c
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 84
Request Body
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fmen%2F77.jpg"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:26:56 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=profiles
Response Information
Response Code: 403 - Forbidden
Mean time per request: 415ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 27f07c78-2cbf-4de6-bfd3-d4603d6179e0
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 233
Request Body
{
        	"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:26:57 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/devices?type=ios&fields=id
Response Information
Response Code: 403 - Forbidden
Mean time per request: 362ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 0aed7cd4-d456-4446-aae6-89d4a2278162
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 42
Request Body
{
          "type": "ios",
          "app_build": "9999"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:26:57 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1922
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserDevicesController.php(98): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserDevicesController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/position?type=ios
Response Information
Response Code: 403 - Forbidden
Mean time per request: 533ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
X-Happn-DID null
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 05958726-5ed6-41cc-ae2d-41501dc57abc
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 99
Request Body
{
            "latitude": 65.49193136208638,
            "longitude": -24.846669550067332,
            "country_id": "FR"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:26:58 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1924
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserPositionController.php(18): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserPositionController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/v1/users/null/archives
Response Information
Response Code: 403 - Forbidden
Mean time per request: 285ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Content-Type application/x-www-form-urlencoded
Accept application/json, text/plain, */*
Host varnish
Cache-Control no-cache
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Postman-Token cf062318-f2df-4536-bb21-169af3f9c103
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 81
Request Body
{"archive_type":"HTML","archive_reason":"MANUAL","country":"US","requester_comment":"no comment"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:26:58 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Admin can create user HTML archive 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
Admin can create user HTML archive
Cannot destructure property `user_id` of 'undefined' or 'null'.
Request Information
Request Method: GET
Request URL: http://varnish/api/v1/users/null/archives
Response Information
Response Code: 403 - Forbidden
Mean time per request: 330ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Content-Type application/x-www-form-urlencoded
Accept application/json, text/plain, */*
Host varnish
Cache-Control no-cache
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Postman-Token dc75f678-e1cc-49a8-8080-f056b132e987
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:26:58 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: GET
Request URL: http://varnish/api/v1/users/null/archives/%7B%7BprocessId%7D%7D/download-link
Response Information
Response Code: 404 - Not Found
Mean time per request: 234ms
Mean size per request: 0B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Content-Type application/x-www-form-urlencoded
Accept application/json, text/plain, */*
Host varnish
Cache-Control no-cache
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Postman-Token 173c9754-c655-4b6a-acf7-ec4a45ec26c5
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Length 0
Date Tue, 26 Jan 2021 13:26:59 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
No Response Body for this request
Test Information
NamePassedFailedSkipped
Admin user can download HTML archive 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
Admin user can download HTML archive
No data, empty input at 1:1
        
        ^
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 203ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 527c8807-06f1-438d-9700-598b8b14cd68
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 185
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"refresh_token","refresh_token":"null"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:26:59 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: DELETE
Request URL: http://varnish/api/users/null?to_delete=true
Response Information
Response Code: 403 - Forbidden
Mean time per request: 174ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
CF-IPCountry FR
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token b7c258ee-2e83-4c56-a248-54ffc5d6aaed
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:26:59 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 691ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token fc154b2b-a72d-462c-8efd-163b1021b24a
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:00 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users
Response Information
Response Code: 403 - Forbidden
Mean time per request: 558ms
Mean size per request: 1.76KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth="null"
host varnish
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/json; charset=utf-8
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 24dcc10c-b769-4c0a-ad9f-e1affb02d36f
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 320
Request Body
{
            "type": "CLIENT",
            "login": "main.user_1611667620574A@example.com",
            "password": "00000000",
            "first_name": "Main user A",
            "last_name": "api",
            "birth_date": "1988-01-01",
            "gender": "female",
            "salt": "NotReallySecuredS4lt",
            "nickname": "postman.userA",
            "workplace": "Postman test"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:00 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 221ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
Accept */*
Cache-Control no-cache
Postman-Token e7f38bd1-13a0-4f16-a9ab-ab4cda0fc2de
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 227
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667620574A@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:01 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api
Response Information
Response Code: 403 - Forbidden
Mean time per request: 506ms
Mean size per request: 1.87KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 4954aade-ac01-4b35-bd89-d72f624c25b9
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:01 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1913
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/IndexController.php(75): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(130): Api_IndexController->optionsAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
User should be eligible to Suggested stack 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
User should be eligible to Suggested stack
Cannot read property 'enable' of undefined
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=matching_preferences
Response Information
Response Code: 403 - Forbidden
Mean time per request: 529ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token afefe373-b308-4629-a875-2c980253bbe5
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 72
Request Body
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:02 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/images
Response Information
Response Code: 403 - Forbidden
Mean time per request: 246ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/x-www-form-urlencoded
Authorization OAuth="null"
User-Agent happn/2300 CFNetwork/897.15 Darwin/18.7.0
Accept */*
Cache-Control no-cache
Postman-Token ce48ded4-7a63-49eb-af30-156c44fc9236
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 86
Request Body
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fwomen%2F73.jpg"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:27:02 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=profiles
Response Information
Response Code: 403 - Forbidden
Mean time per request: 646ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 50abce56-ea2c-442c-92f4-4d7c33a3fbc2
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 233
Request Body
{
        	"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:03 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/devices?type=ios&fields=id
Response Information
Response Code: 403 - Forbidden
Mean time per request: 2.1s
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token d66c32fc-867e-44f2-ab09-da133cbb8829
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 42
Request Body
{
          "type": "ios",
          "app_build": "9999"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:04 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserDevicesController.php(98): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserDevicesController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/position?type=ios
Response Information
Response Code: 403 - Forbidden
Mean time per request: 556ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
X-Happn-DID null
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 817ec681-e11a-47ed-a4a6-355f4745aab0
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 99
Request Body
{
            "latitude": 65.49193136208638,
            "longitude": -24.846669550067332,
            "country_id": "FR"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:06 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1924
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserPositionController.php(18): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserPositionController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/v1/users/null/archives
Response Information
Response Code: 403 - Forbidden
Mean time per request: 210ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Content-Type application/x-www-form-urlencoded
Accept application/json, text/plain, */*
Host varnish
Cache-Control no-cache
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Postman-Token 52e46c4d-e6d8-4691-955f-13607e831d10
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 84
Request Body
{"archive_type":"TARBALL","archive_reason":"MANUAL","country":"US","requester_comment":"no comment"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:27:06 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Admin can create user tarball archive 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
Admin can create user tarball archive
Cannot destructure property `user_id` of 'undefined' or 'null'.
Request Information
Request Method: GET
Request URL: http://varnish/api/v1/users/null/archives
Response Information
Response Code: 403 - Forbidden
Mean time per request: 532ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Content-Type application/x-www-form-urlencoded
Accept application/json, text/plain, */*
Host varnish
Cache-Control no-cache
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Postman-Token 02738490-6c6d-4814-8a44-97bccf27e672
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:27:06 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: GET
Request URL: http://varnish/api/v1/users/null/archives/%7B%7BprocessId%7D%7D/download-link
Response Information
Response Code: 404 - Not Found
Mean time per request: 242ms
Mean size per request: 0B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Content-Type application/x-www-form-urlencoded
Accept application/json, text/plain, */*
Host varnish
Cache-Control no-cache
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Postman-Token 877cc62e-3f13-4348-92ef-241e23d113e1
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Length 0
Date Tue, 26 Jan 2021 13:27:07 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
No Response Body for this request
Test Information
NamePassedFailedSkipped
Admin user can download tarball archive 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
Admin user can download tarball archive
No data, empty input at 1:1
        
        ^
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 1606ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token f7637ac9-89eb-4a8e-ae22-82d2a95e284d
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 185
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"refresh_token","refresh_token":"null"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:08 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: DELETE
Request URL: http://varnish/api/users/null?to_delete=true
Response Information
Response Code: 403 - Forbidden
Mean time per request: 502ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
CF-IPCountry FR
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token c86f8eba-9521-4aa8-8fd3-31f50ce06851
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:27:09 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 777ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 81c2882d-35a7-46ff-8b79-9264b0d30de0
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:10 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users
Response Information
Response Code: 403 - Forbidden
Mean time per request: 779ms
Mean size per request: 1.76KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth="null"
host varnish
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/json; charset=utf-8
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 78632f58-5f86-4c28-ab4c-3711f29de41d
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 320
Request Body
{
            "type": "CLIENT",
            "login": "main.user_1611667630399A@example.com",
            "password": "00000000",
            "first_name": "Main user A",
            "last_name": "api",
            "birth_date": "1988-01-01",
            "gender": "female",
            "salt": "NotReallySecuredS4lt",
            "nickname": "postman.userA",
            "workplace": "Postman test"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:10 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1804
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 436ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
Accept */*
Cache-Control no-cache
Postman-Token d8200e53-5881-4b21-97a9-fe0c4af40ad8
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 227
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667630399A@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:11 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api
Response Information
Response Code: 403 - Forbidden
Mean time per request: 600ms
Mean size per request: 1.87KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token b942224f-35cd-4ee0-856d-179bb8ccc159
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:12 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1913
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/IndexController.php(75): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(130): Api_IndexController->optionsAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
User should be eligible to Suggested stack 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
User should be eligible to Suggested stack
Cannot read property 'enable' of undefined
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=matching_preferences
Response Information
Response Code: 403 - Forbidden
Mean time per request: 785ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token c8283143-1704-4b50-ba48-a3f54a24f4dc
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 72
Request Body
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:12 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/images
Response Information
Response Code: 403 - Forbidden
Mean time per request: 228ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/x-www-form-urlencoded
Authorization OAuth="null"
User-Agent happn/2300 CFNetwork/897.15 Darwin/18.7.0
Accept */*
Cache-Control no-cache
Postman-Token d1d32c78-a442-4b81-91db-acd49fa4c405
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 86
Request Body
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fwomen%2F65.jpg"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:27:13 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=profiles
Response Information
Response Code: 403 - Forbidden
Mean time per request: 352ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token ede5252e-df8f-40bd-b9d7-077ff0e80109
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 233
Request Body
{
        	"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:13 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/devices?type=ios&fields=id
Response Information
Response Code: 403 - Forbidden
Mean time per request: 571ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token bfd50c52-b127-4801-8ade-563da21e4082
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 42
Request Body
{
          "type": "ios",
          "app_build": "9999"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:14 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1922
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserDevicesController.php(98): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserDevicesController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/position?type=ios
Response Information
Response Code: 403 - Forbidden
Mean time per request: 394ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
X-Happn-DID null
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 82b33dfd-b497-4439-9aed-81cb13185d96
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 99
Request Body
{
            "latitude": 65.49193136208638,
            "longitude": -24.846669550067332,
            "country_id": "FR"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:14 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1924
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserPositionController.php(18): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserPositionController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/v1/users/null/archives
Response Information
Response Code: 403 - Forbidden
Mean time per request: 533ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Content-Type application/x-www-form-urlencoded
Accept application/json, text/plain, */*
Host varnish
Cache-Control no-cache
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Postman-Token 244c4726-89fa-4173-94ea-69eb35127d72
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 81
Request Body
{"archive_type":"HTML","archive_reason":"MANUAL","country":"US","requester_comment":"no comment"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:27:15 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Simple user cannot create archivee 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
Simple user cannot create archivee
expected 'invalid_token' to deeply equal 'insufficient_scope'
Request Information
Request Method: GET
Request URL: http://varnish/api/v1/users/null/archives
Response Information
Response Code: 403 - Forbidden
Mean time per request: 401ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Content-Type application/x-www-form-urlencoded
Accept application/json, text/plain, */*
Host varnish
Cache-Control no-cache
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Postman-Token 0282a732-0413-4c68-8dfa-25fa92d806e7
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:27:15 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Simple user cannot create archivee 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
Simple user cannot create archivee
expected 'invalid_token' to deeply equal 'insufficient_scope'
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 696ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token d9905501-ca49-4326-98e4-aa0cc2ff240d
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 185
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"refresh_token","refresh_token":"null"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:16 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: DELETE
Request URL: http://varnish/api/users/null?to_delete=true
Response Information
Response Code: 403 - Forbidden
Mean time per request: 429ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
CF-IPCountry FR
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 542d806b-585e-40cf-86db-81eecef3aacb
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:27:16 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request